In mathematics, the Viète formula, named after François Viète (1540–1603), is the following infinite product representating the mathematical constant π:
The above formula is now considered as a result of one of Leonhard Euler's formula – branded more than one century later. Euler discovered that:
Substituting x = π/2 will produce the formula for 2/π, that is represented in an elegant manner by Viète.
The expression on the right hand side has to be understood as a limit expression
where an = √2 + an − 1, with initial condition a1 = √2 (Wells 1986, p. 50; Beckmann 1989, p. 95). However, this expression was not rigorously proved to converge until Rudio (1892).
Upon simplification, a beautiful formula of π is given by
Using an iterated application of the double-angle formula
for sine one first proves the identity
valid for all positive integers n. Letting x = y/2n and dividing both sides by cos(y/2) yields
Using the double-angle formula siny = 2sin(y/2)cos(y/2) again gives
Substituting y = π gives the identity
It remains to match the factors on the right-hand side of this identity with the terms an. Using the half-angle formula for cosine,
one derives that bi = 2cos(π/2i + 1) satisfies the recursion bi + 1 = √2 + bi with initial condition b1 = 2cos(π/4) = √2 = a1. Thus an = bn for all positive integers n.
The Viète formula now follows by taking the limit n → ∞. Note here that
as a consequence of the fact that limx → 0sin(x)/x = 1. (This limit is the derivative of sinx at x = 0, that is cos(0) = 1.)